package com.ssy.lingxi.platform.manage.entity.base;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.*;

/**
 * 国家实体类
 * @author fhj
 * @version 2.0.0
 * @date 2020/09/25
 */
@Data
@Entity
@Table(schema = "public", name = "man_country_area")
public class CountryArea {

    @Id
    @ApiModelProperty(value = "id")
    private Long id;

    @Column(name = "code")
    @ApiModelProperty(value = "国家地区代码")
    private String code;

    @Column(name = "name")
    @ApiModelProperty(value = "国家地区名称")
    private String name;

    @Column(name = "name_en")
    @ApiModelProperty(value = "英文名称")
    private String nameEn;

    @Column(name = "tel_code")
    @ApiModelProperty(value = "电话代码")
    private String telCode;

    @Column(name = "tel_number")
    @ApiModelProperty(value = "手机号位数")
    private Integer telNumber;

    @Column(name = "state")
    @ApiModelProperty(value = "状态")
    private Integer state;

    @Column(name = "create_time")
    @ApiModelProperty(value = "创建时间")
    private Long createTime;

    @Column(name = "language_id")
    @ApiModelProperty(value = "语言")
    private Long languageId;

    @Column(name = "currency_id")
    @ApiModelProperty(value = "币制ID")
    private Long currencyId;

}
